from django.urls import path, include
from .views import login, register, post_userInfo_change, get_video_list, post_video_detail, get_comment, post_comment, \
    get_like, post_like, post_score, get_video_tag_options, get_score, get_tag_videos, post_user_img, get_user_collect, \
    post_collect

urlpatterns = [
    path('login/', login, name='login'),
    path('register/', register, name='register'),
    path('post_userInfo_change/', post_userInfo_change, name='post_userInfo_change'),
    path('post_user_img/', post_user_img, name='post_user_img'),
    path('get_video_list/', get_video_list, name='get_video_list'),
    path('post_video_detail/', post_video_detail, name='get_video_detail'),
    path('get_comment/', get_comment, name='get_comment'),
    path('post_comment/', post_comment, name='post_comment'),
    path('get_like/', get_like, name='get_like'),
    path('post_like/', post_like, name='post_like'),
    path('get_score/', get_score, name='get_score'),
    path('post_score/', post_score, name='post_score'),
    path('get_video_tag_options/', get_video_tag_options, name='get_video_tag_options'),
    path('get_tag_videos/<str:video_type>/', get_tag_videos, name='get_tag_videos'),
    path('get_user_collect/', get_user_collect, name='get_user_collect'),
    path('post_collect/', post_collect, name='post_collect')
]

# delete from myUser_video;
# delete from myUser_score;
# delete from myUser_like;
# delete from myUser_comment;
# delete from myUser_myuser;
